//
//  CHChatRoomBase.h
//  ChildHoodStemp
//
//  Created by lucky on 13-8-20.
//  Copyright (c) 2013年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CHChatViewController.h"
#import "ChildHoodRoom.h"
#import "CFileModel.h"

@interface CHChatRoomBase : CHChatViewController <CHChatViewDelegate, CHChatViewDataSource>
{
    int64_t  _messageRoomID;
    
    int32_t  _targetMemoryId;
    int32_t  _targetClazzId;
    id       _chatService;
    BOOL     _teacherChat;
    NSString *_roomName;
    
    ChildHoodRoom   *_childHoodRoom;
}
@property (copy, nonatomic) NSString *roomName;
@property (strong, nonatomic) NSMutableArray *timestamps;
@property (retain, nonatomic) ChildHoodRoom   *childHoodRoom;

-(id)initWithRoomID:(int64_t)roomID;

-(id)initWithTargId:(int32_t)memoryId andClazz:(int32_t)clazzId;

-(id)initWithTargID:(int32_t)memoryID andRoomName:(NSString *)roomname;

-(id)initWithTeacherChat;

@end
